config: fix (S)NTP realloc handling
authorDavid Härdeman <[email protected]>
Sun, 23 Nov 2025 13:46:49 +0000 (14:46 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Thu, 27 Nov 2025 07:24:34 +0000 (08:24 +0100)
commitb4ab371c541ab481c7dff001964afd621b5a968d
treed318d593d47933ab4164f9fe59f6d10e7c14b1f6
parenta05cc991716c7cbd292ab7c9775327b7f7d0922e
config: fix (S)NTP realloc handling

Make sure that realloc errors are dealt with properly in the (S)NTP
option parsing.

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/320
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/config.c